![]() |
![]() |
Understanding DHTML Menu BuilderThe pulldowns created by DHTML Menu Builder are HTML tables (or layers in the case of Navigator) that act as containers, known here as groups. Every cell in the table is a menu item, to which we will refer to as a command.
DHTML Menu Builder let's you create such tables using an interface similar to a directory listing from Microsoft Windows Explorer.
Why similar to a directory listing?
Well, because you can think of the main menu options as folders (or containers) and the menu items (or commands) as the files.With DHTML Menu Builder you can set properties such as font type, size and decoration, border size and color and the shape of the mouse pointer.
DHTML Menu Builder will create several files after the compilation of a project:
File Name
Purpose
The .js files These files, with .js extension, contain all the code necessary to handle the menu system.
hRef.txt In this file are all the instructions to make your links call a particular menu.
Since DHTML Menu Builder does not create the toolbar from where the menus are called, you should design this toolbar even before you start creating the menus.
Then, after the menus have been created and compiled, you will use the HotSpot Editor tool, integrated into DHTML Menu Builder to attach the necessary code to you HTML documents so the hotspots become active, that is, respond to the mouse events of the user and display the appropriate menus.If you whish to do this step by hand, in the hRef.txt file you'll find all the code that needs to be added in order to load the JS files and convert your hotspots into active hotspots.
Again, check the Tips & Tricks section for some guidelines on how to do this.